﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuestionDefaultScoreSet.aspx.cs" Inherits="E.Web.Teacher.internals.question.QuestionDefaultScoreSet" %>

<%@ Import Namespace="E.Model" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>题型默认值设置</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_score.css" type="text/css" media="all" />
  <style type="text/css">
    .box_1{ margin-top:10px; width:650px; display:table; }
    .left{ width:140px; line-height:20px; _line-height:23px; display:table; }
    .dis_r{ line-height:20px; _line-height:23px; display:table; }
  </style>
  
  <script language="javascript" type="text/javascript">
      /**  
      *删除左右两端的空格  
      */
      String.prototype.trim = function () {
          return this.replace(/(^\s*)|(\s*$)/g, '');
      }
      /**  
      *删除左边的空格  
      */
      String.prototype.ltrim = function () {
          return this.replace(/(^s*)/g, '');
      }
      /**  
      *删除右边的空格  
      */
      String.prototype.rtrim = function () {
          return this.replace(/(s*$)/g, '');
      }   
</script>
</head>
<body>
  <form id="form1" method="post" action="?act=save">
    <div class="block_2">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;题型信息</div>
      </div>
      <%foreach (QuestionCategoryModel model in listModel)
        { %>
        <div class="box_1">
            <div class="fl tr left"><%=model.Name %></div>
            <div class="fl dis_r">分数：<input type="text" id="<%=model.ID %>" name="<%=model.ID %>" value="<%=model.DefaultScore %>" /></div>
        </div>
      <%} %>
      <div style="height: 25px">
        <div class="fl"><input type="image" style="width:54px; height:23px;" src="/images/btn/confirm.gif" /></div>
      </div>
    </div>
  </form>
</body>
</html>